Skip to content

Update deployment.rst #9443

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 15, 2018
Merged

Update deployment.rst #9443

merged 1 commit into from
Mar 15, 2018

Conversation

bricelalu
Copy link
Contributor

Fix 404 not found
the link was:

But since I don't know how links are generated from the doc I guess that removing the useless "Kernel" and ">" can do the job.

Fix 404 not found
the link was:
- http://api.symfony.com/3.4/Symfony/Component/HttpKernel/Kernel/Kernel.html#method_getProjectDir> (404)
And I tried to make it like this:
-http://api.symfony.com/3.4/Symfony/Component/HttpKernel/Kernel.html#method_getProjectDir (working)

But since I don't know how links are generated from the doc I guess that removing the useless "Kernel" and ">" can do the job.
@javiereguiluz
Copy link
Member

@bricelalu good catch! Thanks for fixing this wrong link. If you are curious, those links are generated automatically when parsing the docs using this code: https://github.com/fabpot/sphinx-php/blob/e0472cd05ab96eebbf3a96cdacaf2edd57fb018f/sensio/sphinx/phpcode.py#L145-L150

@javiereguiluz javiereguiluz merged commit c9f0976 into symfony:3.4 Mar 15, 2018
javiereguiluz added a commit that referenced this pull request Mar 15, 2018
This PR was merged into the 3.4 branch.

Discussion
----------

Update deployment.rst

Fix 404 not found
the link was:
- http://api.symfony.com/3.4/Symfony/Component/HttpKernel/Kernel/Kernel.html#method_getProjectDir> (404)
And I tried to make it like this:
-http://api.symfony.com/3.4/Symfony/Component/HttpKernel/Kernel.html#method_getProjectDir (working)

But since I don't know how links are generated from the doc I guess that removing the useless "Kernel" and ">" can do the job.

<!--

If your pull request fixes a BUG, use the oldest maintained branch that contains
the bug (see https://symfony.com/roadmap for the list of maintained branches).

If your pull request documents a NEW FEATURE, use the same Symfony branch where
the feature was introduced (and `master` for features of unreleased versions).

-->

Commits
-------

c9f0976 Update deployment.rst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants